package wrappers;

public class IntegerComparison {
	public static void main(String[] args) {
		Integer a = new Integer(129);
		Integer b = new Integer(129);
		a--;b--;
		System.out.println(a = b);
		System.out.println(a == b);
		System.out.println(a.equals(b));
		Integer c = new Integer(2);
		Integer d = Integer.valueOf(2);
		System.out.println(c = d);
		System.out.println(c == d);
		System.out.println(c.equals(d));
	}
}